<?php

namespace App\Console\Commands\Wanggui;

use App\Service\OpenShop\Feishu\MapService;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Cache;

class ClearCacheData extends Command
{
    /**
     * The name and signature of the console command.
     * @var string
     */
    protected $signature = 'wanggui:clear-cache-data';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = '删除缓存的网规数据';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     *
     * @return int
     */
    public function handle()
    {
        Cache::pull('tiger:openShop:map:mapRange');
        $this->info('清理完成');
    }
}
